"""
数据分析页面
"""

from flask import render_template, request, jsonify
from flask_jwt_extended import jwt_required, get_jwt_identity
from app import db
from app.models import User, Appointment, Resource, SchedulingResult
from app.web import web_bp
from datetime import datetime, timedelta

@web_bp.route('/analytics')
@jwt_required()
def analytics():
    """数据分析页面"""
    return render_template('analytics.html')

@web_bp.route('/analytics/reports')
@jwt_required()
def reports():
    """报告页面"""
    return render_template('reports.html')
